package com.example.mainstream.bean;


import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.io.Serializable;


/**
 * 文件名：OrderBean
 * 描述：订单--用于数据库数据
 */
@Table(name = "OrderBean")
public class OrderBean implements Serializable {
    private static final long serialVersionUID = 1L;
    @Column(name = "id", isId = true, autoGen = true)
    private long id;

    public long getMerchatid() {
        return merchatid;
    }

    public void setMerchatid(long merchatid) {
        this.merchatid = merchatid;
    }
    @Column(name = "merchatid")
    private long merchatid;
    @Column(name = "count")
    private String count;
    @Column(name = "title")
    private String title;//产品
    @Column(name = "url")
    private String url;//图片
    @Column(name = "content")
    private String content;//介
    // 绍
    @Column(name = "price")
    private String price;//价格
    @Column(name = "goods_type")
    private String goods_type;//类型
    @Column(name = "state")
    private String state;//状态 用户：0 代发货 1已发货 2已收获

    @Column(name = "user_id")
    private String user_id;//用户id
    @Column(name = "address_id")
    private String address_id;//收获地址ID

    @Column(name = "address")
    private String address;//产地
    @Column(name = "detail_address")
    private String detail_address;//详细地址



    public OrderBean() {
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDetail_address() {
        return detail_address;
    }

    public void setDetail_address(String detail_address) {
        this.detail_address = detail_address;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getGoods_type() {
        return goods_type;
    }

    public void setGoods_type(String goods_type) {
        this.goods_type = goods_type;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getAddress_id() {
        return address_id;
    }

    public void setAddress_id(String address_id) {
        this.address_id = address_id;
    }
}
